package com.dawn.module.cms.controller.admin.department.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 科室信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class DepartmentRespVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "14798")
    @ExcelProperty("ID")
    private Long id;

    @Schema(description = "父ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "18934")
    @NotNull(message = "父ID不能为空")
    private Long parentId;

    @Schema(description = "名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("名称")
    private String name;

    @Schema(description = "昵称", example = "王五")
    @ExcelProperty("昵称")
    private String nickname;

    @Schema(description = "封面图")
    @ExcelProperty("封面图")
    private String coverImg;

    @Schema(description = "电话")
    @ExcelProperty("电话")
    private String phone;

    @Schema(description = "工作时段")
    @ExcelProperty("工作时段")
    private String workRange;

    @Schema(description = "擅长病种")
    @ExcelProperty("擅长病种")
    private String tags;

    @Schema(description = "地址")
    @ExcelProperty("地址")
    private String address;

    @Schema(description = "机构名称", example = "王五")
    @ExcelProperty("机构名称")
    private String orgName;

    @Schema(description = "his科室编码")
    @ExcelProperty("his科室编码")
    private String hisDeptCode;

    @Schema(description = "his科室名称", example = "张三")
    @ExcelProperty("his科室名称")
    private String hisDeptName;

    @Schema(description = "链接地址", example = "https://www.ynzykj.net")
    @ExcelProperty("链接地址")
    private String linkUrl;

    @Schema(description = "提示")
    @ExcelProperty("提示")
    private String tips;

    @Schema(description = "通知")
    @ExcelProperty("通知")
    private String notice;

    @Schema(description = "描述", example = "你说的对")
    @ExcelProperty("描述")
    private String description;

    @Schema(description = "内容")
    @ExcelProperty("内容")
    private String content;

    @Schema(description = "html的content")
    @ExcelProperty("html的content")
    private String contentFormat;

    @Schema(description = "备注", example = "你猜")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "图集")
    @ExcelProperty("图集")
    private List<String> pictures;

    @Schema(description = "附件")
    @ExcelProperty("附件")
    private List<String> files;

    @Schema(description = "阅读次数")
    @ExcelProperty("阅读次数")
    private Integer views;

    @Schema(description = "是否置顶")
    @ExcelProperty("是否置顶")
    private Integer topping;

    @Schema(description = "推荐状态")
    @ExcelProperty("推荐状态")
    private Integer recommend;

    @Schema(description = "发布时间")
    @ExcelProperty("发布时间")
    private LocalDateTime publishTime;

    @Schema(description = "发布状态")
    @ExcelProperty("发布状态")
    private Integer publish;

    @Schema(description = "顺序")
    @ExcelProperty("顺序")
    private Integer sort;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("状态")
    private Integer status;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "最后更新时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("最后更新时间")
    private LocalDateTime updateTime;

}